/**
 * Object Script Start
 */

(function ( $ ) {
	$.fn.svWeekCalendar = function(options) {

		this.opts = $.extend({
		    timeStart:9
		  , timeEnd:18
		  , timeUnit:1
		}, options);
		
		/*
		var timeStart = opts.timeStart;
		var timeEnd = opts.timeEnd;
		*/
		
		this.setTimePeriod = function( pTimeStart, pTimeEnd ){
			this.opts.timeStart = pTimeStart;
			this.opts.timeEnd = pTimeEnd;
			$.log.debug( 'setTimePeriod[' + this.opts.timeStart + '][' + this.opts.timeEnd + ']' );
		}
		
		this.setTimeUnit = function( pTimeUnit ){
			this.opts.timeUnit = pTimeUnit;
			$.log.debug( 'setTimeUnit[' + this.opts.timeUnit + ']' );
		}
		
		this.renderTime = function(){
			var timeList = new Array();
		}
		
		$.log.debug( 
			  'time'
			+ '[' + this.opts.timeStart + ']'
			+ '[' + this.opts.timeEnd + ']'
			+ '[' + this.opts.timeUnit + ']' 
		);
		
		return this.each(function(){$this = $(this);});
	};
})(jQuery);
